package com.so206.mapper;

import com.so206.po.ProxyList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProxyListMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProxyList record);

    int insertSelective(ProxyList record);

    ProxyList selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProxyList record);

    int updateByPrimaryKey(ProxyList record);

    List<ProxyList> selectByUid(@Param("uid") Long uid);

    List<ProxyList> selectByUidStatus(@Param("uid") Long uid, @Param("status") Integer status);

}